<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<div id='div1' class='asd' name='asd' hanqiliang='5' title="asda" value='asda' libo='asda'></div>
<script type="text/javascript">
	//div1.llll = 0;
	//div1.hanqiliang = 1;
	//alert(div1.className)
	//alert(div1.hanqiliang)
	//alert(div1.hanqiliang)
	div1.setAttribute('wangyuechao','lihai');
	alert(div1.hasAttribute('wangyuechao'));
	//alert(div1.getAttribute('llll'))
</script>
</body>
</html>